package com.freesky.biz.rights.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freesky.biz.rights.domain.RightsReceiveEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 领取记录
 */
public interface RightsReceiveMapper extends BaseMapper<RightsReceiveEntity> {

    Page selectReceivePage(Page page, @Param("entity") RightsReceiveEntity entity);
    List<RightsReceiveEntity> selectReceivePage(@Param("entity") RightsReceiveEntity entity);

    List<RightsReceiveEntity> selectUnPayList(@Param("busiIdList") List<String> busiIdList,
                                              @Param("startDt") String startDt);

    int updateSendFlagById(@Param("id")String id, @Param("sendFlag")String sendFlag);
}
